<?php  
// $Shortcut = "[InternetShortcut]
// URL=http://www.xxx.com
// IconFile=http:/www.xxx.com/favicon.ico";

  
header("Content-type: application/octet-stream");  
header("Content-Disposition: attachment; filename=xxxx.url;");  
// echo $Shortcut;
?>
[InternetShortcut]
URL=http://www.xxx.com
IconFile=http:/www.xxx.com/favicon.ico